#ifndef __CONTROL_H
#define __CONTROL_H

#include "stm32g4xx_hal.h"
#include "lcd.h"
#include "tim.h"
#include "hardware.h"


struct Tick_TypeDef
{
	uint32_t lcd;
	uint32_t led;
	uint32_t key;
	uint32_t eep;
	
};
extern struct Tick_TypeDef tick;


struct Data_TypeDef
{
	uint32_t keylong;

	
};
extern struct Data_TypeDef data; 

void Power_Init(void);
void LCD_Proc(void);
void Key_Proc(void);
void Key_Serv_Double(void);

#endif
